Using the Core Reflection API |
Use reflection to discover relations between live types and objects |
|
![]() |
Check subtyping and primitive assignability with
isAssignableFrom
|
![]() |
Classify types with
isInterface ,
isArray ,
and isPrimitive
|
![]() |
Check an object's type with isInstance
|
![]() |
getMethods does inheritance and overriding.
Code more complex checks, such as overload resolution, on top of the API |